package com.mengfx.bean;

import java.util.Date;

import com.mengfx.utils.DateUtil;

public class LoginLog {
    private Long id;

    private Long userId;

    private Date logintime;
    
    private String logintimeStr;
    
    private int count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getLogintime() {
        return logintime;
    }

    public void setLogintime(Date logintime) {
        this.logintime = logintime;
    }

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getLogintimeStr() {
		logintimeStr = DateUtil.timeStr(this.logintime, DateUtil.MMdd);
		return logintimeStr;
	}

	public void setLogintimeStr(String logintimeStr) {
		this.logintimeStr = logintimeStr;
	}
    
}